package com.gwcm.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel("订单信息展示项")
public class OrderInfoVo {
    private Long id;
    @ApiModelProperty("商户订单编号")
    private String orderNo;
    @ApiModelProperty("用户id")
    private Long userId;
    @ApiModelProperty("商品id")
    private Long productId;
    @ApiModelProperty("利润")
    private BigDecimal profit;
    @ApiModelProperty("订单金额")
    private Integer totalFee;
    @ApiModelProperty("订单状态(0:支付成功,1:未支付,2:已关闭，3:退款成功，4:已发货）")
    private Integer orderStatus;
    @ApiModelProperty("支付类型(0:微信支付,1:支付宝支付)")
    private Integer paymentType;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("创建者")
    private String createBy;
    @ApiModelProperty("更新时间")
    private Date updateTime;
    @ApiModelProperty("更新者")
    private String updateBy;
    @ApiModelProperty("用户昵称")
    private String nickName;
    @ApiModelProperty("商品名称")
    private String name;
}
